﻿<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  </configSections>
  <connectionStrings>
    <add name="ClientPlatform" connectionString="mongodb://localhost:27017/ClientPlatform" />
    <add name="GovernanceInputFile" connectionString="mongodb://localhost:27017/GovernanceInputFile" />
  </connectionStrings>
  <appSettings>
    <add key="RedisServer" value="localhost" />
    <add key="ClientPlatformUrl" value="http://localhost:10280/pdfgenerationserv" />
    <add key="httpHostUrl" value="http://localhost:10280/pdfgenerationserv" />
    <add key="httpsPort" value="443" />
    <add key="UseHttps" value="false" />
    <add key="s3-risk-rating-images" value="risk-rating-images" />
    <add key="s3prefix-risk-rating-images" value="Dev" />
    <add key="s3bucket" value="dev-globalaccess-europe" />
	<add key="s3-governance-reports" value="dev-globalaccess-europe/GovernanceReports" />
    <add key="s3ServiceEndPoint" value="https://s3-eu-west-1.amazonaws.com/" />
    <add key="awsSecretKey" value="7aB5pz0c1ahfIOCdUfEOah08bvU04syMxi05cfmq" />
    <add key="accesKeyId" value="AKIAJKGZZMOFAVOVLHJA" />
    <add key="ReportsSavePath" value="E:\GovernanceCompanyReportPDF" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="SMTPServer" value="smtp.office365.com" />
    <add key="SMTPServerPort" value="587" />
    <add key="SMTPUserName" value="platform@sustainalytics.com" />
    <add key="SMTPPassword" value="Password99#" />
    <add key="SupportEmail" value="platformsupport@sustainalytics.com" />
    <!-- Maximum messages sent as text in body email. If exceeded, the messages are sent as attachment.-->
    <add key="BodyEmailMaxMessages" value="1000" />
    <add key="DeploymentLocation" value="Development" />
    <add key="IsControversiesInitialSync" value="True" />
    <add key="GeneratePartialControveryReports" value="True" />
    <add key="AttachmentArchivingThresholdKB" value="500" />
    <!-- the value is considered to be expressed in KB -->
    <add key="ClientSettingsProvider.ServiceUri" value="" />
    <add key="DatabaseType" value="single" />
    <add key="ReplicaSetName" value="clientStage" />
    <add key="foxit.licensekey" value="FMG10NPDMO8EMN5IhJpfkYlw9S8ie3aDSUZcAYigb0T+caKwz3IgE7jOPTHWQsjGjeKeDpbVECTL2OSG89w9C19/hqkAWIIlJvlA" />
    <add key="TearSheetAccountNames" value="Scotia iTrade" />
    <add key="TearSheetPublicBucket" value="dev-scotia-itrade-report" />
    <add key="enableCors" value="true" />
  </appSettings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
  </startup>

  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <entityFramework>
    <providers>
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
      <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
    </providers>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="mssqllocaldb" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
  <system.data>
    <DbProviderFactories>
      <remove invariant="System.Data.SQLite.EF6" />
      <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
      <remove invariant="System.Data.SQLite" />
      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
    </DbProviderFactories>
  </system.data>
</configuration>
